#pragma once

#include <sys_def.h>

typedef struct {
	u8_s UP : 1;
	u8_s CH0 : 1;
	u8_s CH1 : 1;
	u8_s CH2 : 1;
	u8_s CH3 : 1;
	u8_s : 1;
	u8_s TRG : 1;
	u8_s : 1;
} timer_event_s;

_Static_assert(sizeof(timer_event_s) == 1,
	       "Struct timer_event_s defined error!");
